import personal from './personal';
import work from './work';
import office from './office';
import finance from './finance';
import stat from './stat';
import setting from './setting';

export default {
    path: '/',
    component: '../layouts/BasicLayout',
    Routes: ['src/pages/Authorized'],
    routes: [
        personal,
        work,
        office,
        finance,
        stat,
        setting,
        {
            path: '/personalCenter',
            name: 'personalCenter',
            hideInMenu: true,
            code: true,
            routes: [
                {
                    path: '/personalCenter/passwordSettings',
                    name: 'PasswordSettings',
                    icon: 'oa_maeu_icon_enterprise_default',
                    component: './PersonalCenter/PasswordSettings',
                    code: true
                },
                // 候选--应聘登记表(为了让所有账号都可用)
                // ???
                {
                    path: '/external/interview/register',
                    name: 'externalInterviewRegister',
                    component: './Recruitment/External/Register',
                    hideInMenu: true
                }
            ]
        }
    ]
};
